  <div class="col-md-3">
    <a href="{{ url_for('article.create', cid=request.args.get('cid', 4)) }}" class="btn btn-primary btn-block margin-bottom">
        添加文章
    </a>
      <div class="box box-solid">
        <div class="box-header with-border">
          <h3 class="box-title">栏目分类</h3>

          <div class="box-tools">
            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
            </button>
          </div>
        </div>
        <div class="box-body no-padding">
          <ul class="nav nav-pills nav-stacked">
            {% for item in category %}
            {% if request.args.get('cid') == '{}'.format(item.id) %}
            <li class="active">
              <a href="{{ url_for('article.index', cid=item.id) }}">
                <i class="fa fa-circle text-red"></i>
                {{ item.title }}</a>
            </li>
            {% else %}
            <li>
              <a href="{{ url_for('article.index', cid=item.id) }}">
                <i class="fa fa-circle-o text-light-blue"></i>
                {{ item.title }}</a>
            </li>
            {% endif %}
            {% endfor %}
          </ul>
        </div>
        <!-- /.box-body -->
      </div>

      <!-- /.box -->
      <div class="box box-solid">
        <div class="box-header with-border">
          <h3 class="box-title">状态标签</h3>
          <div class="box-tools">
            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
            </button>
          </div>
        </div>
        <div class="box-body no-padding">
          <ul class="nav nav-pills nav-stacked">
            <li class="active"><a href="#"><i class="fa fa-list-alt"></i> 专报列表</a></li>
          </ul>
        </div>
        <!-- /.box-body -->
      </div>
      <!-- /. box -->
    </div>
